package com.zhijian.medical.entity.po;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Api(tags = "常规病例-剩余组织处理")
public class RoutineQcHandle {

    /**
     * 主键ID
     */
    @ApiModelProperty("主键ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("切片ID")
    private Long qcId;

    @ApiModelProperty("批次号")
    private String batchNo;

    @ApiModelProperty("状态值 0 未处理 1 已处理")
    private Integer state;

    @ApiModelProperty("操作人")
    private Long operateId;

    @ApiModelProperty("操作人名称")
    private String  operater;

    @ApiModelProperty("病理号")
    @TableField(exist = false)
    private String blh;

    @ApiModelProperty("取材人")
    @TableField(exist = false)
    private String qcUser;

    @ApiModelProperty("取材时间")
    @TableField(exist = false)
    @JSONField(format = "yyyy-MM-dd")
    private Date qcDate;

    @ApiModelProperty("处理时间")
    private Date handleTime;
}
